package com.etc.entity;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * Spu
 * 
 * @author Administrator
 * 
 */
public class Spu {
	@Id
	@Column(name="spuId")
	private Integer spuId;// 编号
	@Column(name="gId")
	private Integer gId;// 商品表编号
	@Column(name="spuParticulars")
	private String spuParticulars;// 详情
	@Column(name="spuSpecification")
	private String spuSpecification;// 商品规格
	@Column(name="spuAttribute")
	private String spuAttribute;// 自定义属性
	@Column(name="spuImages")
	private String spuImages;// 商品图片
	@Column(name="spuService")
	private String spuService;// 售后
	@Column(name="spuMax")
	private String spuMax;// 商品大号
	@Column(name="spuMid")
	private String spuMid;// 商品中
	@Column(name="spuMin")
	private String spuMin;// 商品小
	@Column(name="spuPlain")
	private String spuPlain;// 原味
	@Column(name="spuChocolates")
	private String spuChocolates;// 巧克力
	@Column(name="spuStrawberry")
	private String spuStrawberry;// 草莓

	public Spu() {
		// TODO Auto-generated constructor stub
	}

	public Spu(Integer spuId, Integer gId, String spuParticulars, String spuSpecification, String spuAttribute,
			String spuImages, String spuService, String spuMax, String spuMid, String spuMin, String spuPlain,
			String spuChocolates, String spuStrawberry) {
		super();
		this.spuId = spuId;
		this.gId = gId;
		this.spuParticulars = spuParticulars;
		this.spuSpecification = spuSpecification;
		this.spuAttribute = spuAttribute;
		this.spuImages = spuImages;
		this.spuService = spuService;
		this.spuMax = spuMax;
		this.spuMid = spuMid;
		this.spuMin = spuMin;
		this.spuPlain = spuPlain;
		this.spuChocolates = spuChocolates;
		this.spuStrawberry = spuStrawberry;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public Integer getgId() {
		return gId;
	}

	public void setgId(Integer gId) {
		this.gId = gId;
	}

	public String getSpuParticulars() {
		return spuParticulars;
	}

	public void setSpuParticulars(String spuParticulars) {
		this.spuParticulars = spuParticulars;
	}

	public String getSpuSpecification() {
		return spuSpecification;
	}

	public void setSpuSpecification(String spuSpecification) {
		this.spuSpecification = spuSpecification;
	}

	public String getSpuAttribute() {
		return spuAttribute;
	}

	public void setSpuAttribute(String spuAttribute) {
		this.spuAttribute = spuAttribute;
	}

	public String getSpuImages() {
		return spuImages;
	}

	public void setSpuImages(String spuImages) {
		this.spuImages = spuImages;
	}

	public String getSpuService() {
		return spuService;
	}

	public void setSpuService(String spuService) {
		this.spuService = spuService;
	}

	public String getSpuMax() {
		return spuMax;
	}

	public void setSpuMax(String spuMax) {
		this.spuMax = spuMax;
	}

	public String getSpuMid() {
		return spuMid;
	}

	public void setSpuMid(String spuMid) {
		this.spuMid = spuMid;
	}

	public String getSpuMin() {
		return spuMin;
	}

	public void setSpuMin(String spuMin) {
		this.spuMin = spuMin;
	}

	public String getSpuPlain() {
		return spuPlain;
	}

	public void setSpuPlain(String spuPlain) {
		this.spuPlain = spuPlain;
	}

	public String getSpuChocolates() {
		return spuChocolates;
	}

	public void setSpuChocolates(String spuChocolates) {
		this.spuChocolates = spuChocolates;
	}

	public String getSpuStrawberry() {
		return spuStrawberry;
	}

	public void setSpuStrawberry(String spuStrawberry) {
		this.spuStrawberry = spuStrawberry;
	}

	@Override
	public String toString() {
		return "Spu [spuId=" + spuId + ", gId=" + gId + ", spuParticulars=" + spuParticulars + ", spuSpecification="
				+ spuSpecification + ", spuAttribute=" + spuAttribute + ", spuImages=" + spuImages + ", spuService="
				+ spuService + ", spuMax=" + spuMax + ", spuMid=" + spuMid + ", spuMin=" + spuMin + ", spuPlain="
				+ spuPlain + ", spuChocolates=" + spuChocolates + ", spuStrawberry=" + spuStrawberry + "]";
	}

}
